//
//  EOCNetworkFetcherDelegate.h
//  MacTestProject
//
//  Created by LiuLichen on 2022/4/26.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class EOCNetworkFetcher;

@protocol EOCNetworkFetcherDelegate <NSObject>

@optional
- (void) networkFetcher: (EOCNetworkFetcher*)fetcher
         didReceiveData: (NSData*)data;

- (void) networkFetcher: (EOCNetworkFetcher*)fetcher
       didFailWithError: (NSError*)error;

@end

NS_ASSUME_NONNULL_END
